<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>AvFun001.org 天下基友是一家</title>
<meta name="description" content="基友的天堂，搞基的圣地，面对弹幕，面对人生，我们只要微笑就可以了">
<meta name="Keywords" content="动漫短片,动漫音乐,MTV,PV,AMV,MAD,游戏短片,GalGame">
  <link href="/static/default.css" rel="stylesheet" type="text/css">
  <link href="/static/ui.tabs.css" rel="stylesheet" type="text/css">
  <script src="/static/jquery.min.js"></script>
  <script src="/static/jquery-ui.min.js"></script>
<script>
/*	var allindex;
	var url = window.location.href;
	if ( url.search("allindex") == -1 ){
		$.ajax({ url : "/checkpri/"+Math.ceil(999999*Math.random()), 
			success: function(data){
   	  			if (parseFloat(data)<100) {
					allindex = false;
				}else {
					allindex = true;
				}},
				async : false
		 });
		if (allindex)
			window.location.href="/data/allindex.html";
	}else{
		$.ajax({ url : "/checkpri/"+Math.ceil(999999*Math.random()), 
			success: function(data){
   	  			if (parseFloat(data)<100) {
					allindex = false;
				}else {
					allindex = true;
				}},
				async : false
		 });
		if (!allindex)
			window.location.href="/";
	}
*/
</script>
</head>
<body>
<div id="allcontent">
<table width="940" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="33" rowspan="2">&nbsp;</td>
    <td width="251" rowspan="2"><a href="/"><img src="/static/logo.png" width="189" height="53" border="0" /></a></td>
    <td rowspan="2">
      <table border="0" bgcolor="#ffffff">
         <tr><td width="251" align="right">试试看avfun的自制搜索引擎！</td></tr>
      </table>
	  <!-- SiteSearch AVFUN -->
      <table border="0" bgcolor="#ffffff">
        <tr>
          <td nowrap="nowrap" valign="bottom" align="left" height="32"></td>
          <td nowrap="nowrap">
            <label for="sbi" style="display: none">输入您的搜索字词</label>
            <input type="text" name="q" size="31" maxlength="255" value="" id="sbi" onkeypress='{if (event.keyCode==13) window.location.href="/search/"+document.getElementById("sbi").value.replace(" ","+");}'/>
            <label for="sbb" style="display: none">提交搜索表单</label>
            <input type="button" name="sa" value="AV搜索(误)" id="sbb" onclick='window.location.href="/search/"+document.getElementById("sbi").value.replace(" ","+");'>
          </td>
        </tr>
      </table>
      <!-- SiteSearch AVFUN -->
    </td>
	<td width="270"><script language="JavaScript" src="images.js"></script></td>
  </tr>
</table>
<table width="940" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="615">
	<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td width="10" height="36" background="/static/31bg1.gif"><img src="/static/31c1.gif" width="9" height="36"></td>
      	<td width="100%" background="/static/31bg1.gif">
          <a href='/'>首页</a>&nbsp;|
          <a href='/list/anime/1'>动画</a>&nbsp;| 
          <a href='/list/music/1'>音乐</a>&nbsp;|
          <a href='/list/game/1'>游戏</a>&nbsp;|
          <a href='/list/ent/1'>娱乐</a>&nbsp;|
          <a href='/list/zj/1'>番影</a>&nbsp;|
          <a href='/list/art/1'>文章</a>&nbsp;|
          <a href='/list/hidden/1'>里区</a>&nbsp;|
          <a href='/rank/'>排行榜</a>&nbsp;|
          <a href='/userrank/'>名人堂</a>&nbsp;|
          <a href='/apikey/'>API</a>&nbsp;|
          <a href='/bbs/'>论坛</a>&nbsp;|
          <a href='/static/news.html'>公告</a>&nbsp;|
          <a href='/about/'>关于</a>&nbsp;|
      	</td>
        <td width="10" align="right" background="/static/31bg1.gif"><img src="/static/31c2.gif" width="9" height="36"></td>
      </tr>
      <tr>
        <td height="5"></td>
      </tr>
    </table>
	<table width='100%' border='0' cellspacing='0' cellpadding='0'>
		<tr><td style="background-color:#f2f2f2">
		<b>[公告]</b>
		</td></tr>
		<tr><td height="5px">
		</td></tr>
	</table>
<div id="tabs">
    <ul>
        <li><a href="#fragment-0"><span>推荐</span></a></li>
        <li><a href="#fragment-1"><span>动画</span></a></li>
        <li><a href="#fragment-2"><span>音乐</span></a></li>
        <li><a href="#fragment-3"><span>游戏</span></a></li>
        <li><a href="#fragment-4"><span>娱乐</span></a></li>
        <li><a href="#fragment-5"><span>番影</span></a></li>
    </ul>
	%for k in range(6):
    <div id="fragment-${k}">
		<div class="face">
		<!-- id,title -->
		<table width='100%' border='0' cellspacing='1' cellpadding='5'>
			<tr>
		%if faces[k]:
			%for i in range(0,4):
				<td align="center">
				<a href="/id/${faces[k][i][0]}.001"><img src="/thumbs/${faces[k][i][0]}" width="120px" height="90px" title="${faces[k][i][1]}"/></a>
				<span>${faces[k][i][1][:12]}</span>
				</td>
			%endfor
			</tr>
			<tr>
			%for i in range(4,8):
				<td align="center">
				<a href="/id/${faces[k][i][0]}.001"><img src="/thumbs/${faces[k][i][0]}" width="120px" height="90px" title="${faces[k][i][1]}"/></a>
				<span>${faces[k][i][1][:12]}</span>
				</td>
			%endfor
		%endif
			</tr>
		</table>
		</div>
    </div>
	%endfor
	<script>$("#tabs").tabs();</script>
</div>
    <table width='100%' border='0' cellspacing='0' cellpadding='2'>
	  <tr><td class=bt width=25%><b>热评资源</b></td><td class=bt></td><td class=bt></td></tr>
    <!-- recent comments id,title,abstract,date,clicks,comments,subs,uid,nickname-->
	%for r in recents:
      <tr>
		<td class=xt width=25% align="center">
			<a href="/id/${r[0]}.001"><img src="/thumbs/${r[0]}/" width="109px" height="80px" onerror='this.onerror = null; this.src="/static/404thumbs.png"'/></a>
		</td>
	    <td class=xt>
        <table width="100%" border="0" cellpadding="2" cellspacing="2">
          <tr> 
            <td><a href="/id/${r[0]}.001" class="ulink"><strong>${r[1]}</strong></a></td>
          </tr>
          <tr><td>${r[2][:50]}</td></tr>
          <tr>
            <td height="6"><font color="#8F8C89">&nbsp;日期：${r[3]}&nbsp;点击：${r[4]}&nbsp;评论：${r[5]}&nbsp;弹幕：${r[6]}</font></td>
          </tr>
        </table>
        </td>
		<td class=xt width=20% align="center">
			<a href="/user/${r[7]}"><img src="/icon/${r[7]}/" height="50px" onerror='this.onerror = null; this.src="/static/404icon.png"'/></a><br/>
			<a href="/user/${r[7]}">${r[8]}</a>
		</td>
	  </tr>
	%endfor
    </table>
  </td>
  <td width="329" valign="top">
  <span id="_loginform">
  </span>
	<script>
			$.get("/checklogin/"+Math.ceil(999999*Math.random()), function(data){
   	  			$("#_loginform").html( data );
			 });
	</script>
  <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td height="5"></td>
      </tr>
    </table>
	<table width="100%" border="0" cellspacing="0" cellpadding="0">
    </table>
	<!-- online count-->
	<script src="/online/" language="javascript"></script>
    <!-- updates url,title-->
	<div id="updates" style="overflow:hidden">
		<table width="99%" height="22" border="0" align="center" cellpadding="0" cellspacing="0">
	    	<tr>
	   		   <td width="3%">&nbsp;</td>
				<td style="color:blue"><strong>最近更新资源</strong></td>
			</tr>
			<tr>
   			   <td width="3%"></td>
	   		   	<td height="1" colspan="2" background="/static/dot_hor.gif"></td>
			</tr>
		</table>
    % for top in updates:
	  <table width="99%" height="22" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td width="3%">&nbsp;</td>
          <td width="97%"> ·<a href="/id/${top[0]}.001" class="ulink3">${top[1]}</a></td>
        </tr>
        <tr>
          <td width="3%"></td>
          <td height="1" colspan="2" background="/static/dot_hor.gif"></td>
        </tr>
      </table>
    % endfor
	</div>
  </td>
  </tr>
</table>
<script>
	$("#updates").height(800);
</script>
<table width="940" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="5"></td>
  </tr>
</table>
<table width="940" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td bgcolor="#CCCCCC"><div align="center"></div></td>
  </tr>
  <tr>
    <td align="center"> Copyright <a href="http://avfun001.org/">AvFun001.org</a> All Rights Reserved 联系管理员:avfun001#gmail.com（将#换成@）<br />
      本站不提供任何视听上传服务，所有内容均来自视频分享站点所提供的公开引用资源。</td>
  </tr>
</table>
</div> <!-- all content -->
<table width="940" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr align="center">
	<td>
     <script language="javascript" type="text/javascript" src="http://js.users.51.la/3784709.js"></script>
     <noscript><a href="http://www.51.la/?3784709" target="_blank"><img alt="&#x6211;&#x8981;&#x5566;&#x514D;&#x8D39;&#x7EDF;&#x8BA1;" src="http://img.users.51.la/3784709.asp" style="border:none" /></a></noscript>
	</td>
  </tr>
</table>
<!--Split-->
</body>
</html>
